package uba.ing2.subite.domain;

import java.io.Serializable;

/**
 * Representa una tarjeta descartable.
 */
public class DisposableCard extends AbstractPaymentCard {
    public DisposableCard(Serializable identifier, Number moneyAvailable) {
    	super(identifier, moneyAvailable);
    }

	@Override
	public void accept(PaymentCardVisitor visitor) {
		visitor.visitDisposableCard(this);
	}
	
	@Override
	public String toString() {
		return "Descartable " + identifier();
	}
}
